﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Poligono.Data
{
    /// <summary>
    /// Type of Scope
    /// </summary>
    public enum TransactionType
    {
        /// <summary>
        /// Keep the scope, but dont open transaction. 
        /// <remarks>To keep connection opened, this is default option</remarks>
        /// </summary>
        OnlyToKeepScope = 0,
        /// <summary>
        /// Use and Open(if need) a trasaction
        /// </summary>
        UseTransaction = 1
    }
    /// <summary>
    /// defini if need a new scope
    /// </summary>
    public enum ScopeChoice
    {
        /// <summary>
        /// Open new scope
        /// </summary>
        RequestsNew,
        /// <summary>
        /// if don't have scope he will create a new or use current
        /// </summary>
        Required
    }

    /// <summary>
    /// Connection string names
    /// <remarks>this name is equal as ConnectionStringName at App.Config</remarks>
    /// </summary>
    public enum ConnectionStringName
    {
        /// <summary>
        /// conection default to framework, when connection doenst explicit we will use that
        /// <remarks>this connection is used to all resources of framework</remarks>
        /// </summary>
        Default,
        /// <summary>
        /// connection to BI
        /// </summary>
        BusinessIntelligence
    }
    /*
    /// <summary>
    /// Type of commando to BdUtil
    /// </summary>
    public enum TypeCommand
    {
        /// <summary>
        /// Select command
        /// </summary>
        Select,
        /// <summary>
        /// Update Command
        /// </summary>
        Update,
        /// <summary>
        /// Insert command
        /// </summary>
        Insert,
        /// <summary>
        /// Delete command
        /// </summary>
        Delete
    }
     */

}
